<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>数值</title>
</head>
<body>
<script type="text/javascript">
  let num = 6;

  num = 6.6;

  console.log(num);

  let a = 123;
  let b = "123";

  console.log(typeof a);
  console.log(typeof b);

  var MAX_NUM = Number.MAX_VALUE;
  console.log(MAX_NUM);//1.7976931348623157e+308

  var MAX_NUM2 = Number.MAX_VALUE + 1;
  console.log(MAX_NUM2);//Infinity

  a = 1 / 0;
  console.log(a);//Infinity

  a = "abc" *"bcd";
  console.log(a);//NaN(not a number)

  a = Number.MIN_VALUE;
  console.log(a);//5e-324(零以上的最小值)

  let c = 123 + 1;
  console.log(c);

</script>
</body>
</html>